package com.rd.student.jiaji.class4.suyan.zrrd.day08;

public class Extends05 {
    public static void main(String[] args) {
        //Animal a=new Animal() ;抽象类不能直接创建方法
        Dog d=new Dog();
        d.eat();
        d.sleep();
    }
}
